package com.itheima.mapper;

import com.itheima.entity.EmpLoginLog;
import org.apache.ibatis.annotations.Insert;
import org.apache.ibatis.annotations.Mapper;

@Mapper
public interface EmpLoginLogMapper {
    //插入日志数据
    @Insert("insert into emp.emp_login_log (id, username, password, login_time, is_success, jwt, cost_time ) " +
            "values (null,#{username}, #{password}, #{loginTime}, #{isSuccess}, #{jwt}, #{costTime});")
    void inser(EmpLoginLog empLoginLog);
}
